<script>
export default {
  onLaunch: function() {
	uni.hideTabBar()
    console.log('App Launch')
  },
  onShow: function() {
	uni.hideTabBar()
	if(uni.getStorageSync('userInfo')){
		this.util.req(this.api.apiMemberInfo,{}).then(res=>{
			// uni.setStorageSync('userInfo',res)
			console.log(res,'用户');
		})
	}
    console.log('App Show')
  },
  onHide: function() {
    console.log('App Hide')
  }
}
</script>

<style>
	@import url("static/global.css");
	@import url("static/iconfont.css");
	page{
		color: #333;
		font-size: 28rpx;
		font-weight: 500;
		/* line-height: 1; */
	}
	/*每个页面公共css */
</style>
